package com.xin.di.uav.applet.po;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 定价表
 * </p>
 *
 * @author LTQ
 * @since 2024-11-13
 */
@TableName("special_pricing")
@ApiModel(value = "SpecialPricing对象", description = "定价表")
public class SpecialPricing implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty("起飞航站")
    private String takeoffCode;

    @ApiModelProperty("降落航站")
    private String landingCode;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("特殊价格")
    private BigDecimal price;

    @ApiModelProperty("是否双向")
    private Byte isItBidirectional;

    @ApiModelProperty("处理人")
    private String processedBy;

    @ApiModelProperty("起飞航站名")
    private String takeoffName;

    @ApiModelProperty("降落航站名")
    private String landingName;


    /**
     * 价格表外键id
     */
    private String pricingId;

    public String getPricingId() {
        return pricingId;
    }

    public void setPricingId(String pricingId) {
        this.pricingId = pricingId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTakeoffCode() {
        return takeoffCode;
    }

    public void setTakeoffCode(String takeoffCode) {
        this.takeoffCode = takeoffCode;
    }

    public String getLandingCode() {
        return landingCode;
    }

    public void setLandingCode(String landingCode) {
        this.landingCode = landingCode;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Byte getIsItBidirectional() {
        return isItBidirectional;
    }

    public void setIsItBidirectional(Byte isItBidirectional) {
        this.isItBidirectional = isItBidirectional;
    }

    public String getProcessedBy() {
        return processedBy;
    }

    public void setProcessedBy(String processedBy) {
        this.processedBy = processedBy;
    }

    public String getTakeoffName() {
        return takeoffName;
    }

    public void setTakeoffName(String takeoffName) {
        this.takeoffName = takeoffName;
    }

    public String getLandingName() {
        return landingName;
    }

    public void setLandingName(String landingName) {
        this.landingName = landingName;
    }

    @Override
    public String toString() {
        return "SpecialPricing{" +
            "id = " + id +
            ", takeoffCode = " + takeoffCode +
            ", landingCode = " + landingCode +
            ", updateTime = " + updateTime +
            ", createTime = " + createTime +
            ", price = " + price +
            ", isItBidirectional = " + isItBidirectional +
            ", processedBy = " + processedBy +
            ", takeoffName = " + takeoffName +
            ", landingName = " + landingName +
        "}";
    }
}
